package com.iweb.manager.dao;


import com.iweb.manager.model.record;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RecordMapper {
    /*查看收藏表*/
    List<record> selectAllRecord(int user_id);

    /*查看一个收藏*/
    record selectOneRecord(record record);

    /*添加一个收藏*/
    int addOneRecord(record record);

    /*删除一个收藏*/
    int deleteOneRecord(int recordid);



}
